package app.dao;

import java.util.List;

import app.model.Tbluserinrole;

public interface IUserInRole {

	// property constants
	public static final String ROLEID = "roleid";
	public static final String USERID = "userid";

	public abstract void save(Tbluserinrole transientInstance);

	public abstract void delete(Tbluserinrole persistentInstance);

	public abstract Tbluserinrole findById(java.lang.Integer id);

	public abstract List findByExample(Tbluserinrole instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByRoleid(Object roleid);

	public abstract List findByUserid(Object userid);

	public abstract List findAll();

	public abstract Tbluserinrole merge(Tbluserinrole detachedInstance);

	public abstract void attachDirty(Tbluserinrole instance);

	public abstract void attachClean(Tbluserinrole instance);

}